FileChooserButton: query 'display name' also for unbookmarked files
authorNelson Benítez León <nbenitezl@gmail.com>
Sun, 19 Apr 2020 20:57:56 +0000 (16:57 -0400)
committerNelson Benítez León <nbenitezl@gmail.com>
Sun, 19 Apr 2020 20:59:33 +0000 (16:59 -0400)
commit13506e36aa48bc9f195f59930cbb3816e37a1350
treeb78aba564c554a538089109ff484a863024dcea0
parenta3de5422748a352bfaaaa5804baa8176a2784971
FileChooserButton: query 'display name' also for unbookmarked files

Do also the async file info query for remote files when they
are not bookmarked, because otherwise "None" will be shown as
file name (and fallback text generic icon will be used).

The remote file was already browsed by the file chooser
instance when selecting it, so querying the display name
again should be using gio cache and not be slow.

Even if it's were slow it's better than showing 'None'
which makes it seem as if nothing was selected.

Fixes #1966
gtk/gtkfilechooserbutton.c